package cn.scxy.bookcity.pojo.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 评论表(Comment)实体类
 *
 * @author makejava
 * @since 2022-11-09 22:11:08
 */
@Data
public class Comment implements Serializable {

    /**
     * id编号唯一自增
     */
    private Long id;
    /**
     * 用户id
     */
    private Long uId;
    /**
     * 对应商品id
     */
    private Long gId;
    /**
     * 评论
     */
    private String comments;
    /**
     * 创建时间
     */
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUId() {
        return uId;
    }

    public void setUId(Long uId) {
        this.uId = uId;
    }

    public Long getGId() {
        return gId;
    }

    public void setGId(Long gId) {
        this.gId = gId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}

